<?php
    function __autoload($class_name)
	{
		include_once('../classes/'.strtolower($class_name).'.php');
	}
    
    $MaDonViTinh = $_POST['MaDonViTinh'];
    
    $donvitinh = new donvitinhbs();
    $donvitinh->MaDonViTinh = $MaDonViTinh;
    
    if($donvitinh->delete())
        echo "yes";
    else
        echo "no";
?>